home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / ProdAttribute.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.2 KB  |  67 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15.     <!-- 
  16.         ProdAttribute describes a product attribute.  The attribute has
  17.         a type and a value.
  18.         
  19.         The type may be specified as a code (in which case the agency
  20.         that issued the code must be specified).  Alternatively, the type
  21.         may be specified as text.
  22.         
  23.         Similarly the value may be specified as a one of a code, text, or
  24.         a measurement.
  25.      -->
  26.  
  27.     <elementtype name="ProdAttribute">
  28.         <model>
  29.             <sequence>
  30.                 <!--  The attribute name may be provided as a 
  31.                     CodedAttribName or as a LangString. / -->
  32.                 <choice>
  33.                     <!--  A coded value for the Attribute name / -->
  34.                     <element type="CodedValue" name="CodedAttribName" 
  35.                         occurs="?" />
  36.                     
  37.                     <!--  The Attribute name in text / -->
  38.                     <element type="LangString" name="AttribName"
  39.                         occurs="?" />
  40.                 </choice>
  41.                                 
  42.                 
  43.                 <!-- The attribute value may be provided as a
  44.                     CodedValue, a LangString, or a Measurement / -->
  45.                 <choice>
  46.                     <!--  The A coded value for the Attribute value / -->
  47.                     <element type="CodedValue" name="CodedAttribValue" 
  48.                         occurs="?" />
  49.                 
  50.                     <!--  The Attribute value as text. / -->        
  51.                     <element type="LangString" name="AttribValue" occurs="?" />
  52.                 
  53.                     <!--  The Attribute value as a Measurement. / -->
  54.                     <element type="Measurement" occurs="?" />
  55.                 </choice>                 
  56.             </sequence>
  57.         </model>
  58.     </elementtype>
  59.     
  60.     <!--  A container for a list of one or more ProdAttribute / -->
  61.     <elementtype name="ListOfProdAttribute">
  62.         <model>
  63.             <element type="ProdAttribute" occurs="+" />
  64.         </model>
  65.     </elementtype>
  66. </schema>
  67.